package com.aeye.mbr.upms.dao.model;

import com.aeye.mbr.model.constant.UpmsDatabaseConstants;
import com.gitee.sunchenbin.mybatis.actable.annotation.DBColumn;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;

import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;

@Table(name = "upms_seq")
public class UpmsSequence implements Serializable {
    /**
     * 编号
     *
     * @mbg.generated
     */
    @Id
    @DBColumn(type = MySqlTypeConstant.VARCHAR,length = 12,isKey = true)
    private String name;

    /**
     * 编号
     *
     * @mbg.generated
     */
    @DBColumn(type = MySqlTypeConstant.INT,length = 10)
    private Integer value;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getValue() {
        return value;
    }

    public void setValue(Integer value) {
        this.value = value;
    }
}